﻿using System;
using System.Text;

namespace MyFastDataSourceBind
{
    /// <summary>
    /// 数据源操作动作类型
    /// </summary>
    public enum XDataSourceActionStyle
    {
        /// <summary>
        /// 无操作
        /// </summary>
        None ,
        /// <summary>
        /// 刷新数据源
        /// </summary>
        Refresh ,
        /// <summary>
        /// 移动到第一条记录
        /// </summary>
        MoveFirst ,
        /// <summary>
        /// 移动到前一条记录
        /// </summary>
        MovePrevious ,
        /// <summary>
        /// 移动到下一条记录
        /// </summary>
        MoveNext ,
        /// <summary>
        /// 移动到最后一条记录
        /// </summary>
        MoveLast ,
        /// <summary>
        /// 新增一条记录
        /// </summary>
        Insert ,
        /// <summary>
        /// 编辑数据
        /// </summary>
        Edit ,
        /// <summary>
        /// 取消编辑数据
        /// </summary>
        CancelEdit ,
        /// <summary>
        /// 删除数据
        /// </summary>
        Delete ,
        /// <summary>
        /// 保存数据
        /// </summary>
        Save
    }
}
